package com.mjf.test;

import org.wltea.analyzer.cfg.Configuration;

import java.util.List;
import java.util.Properties;

public class MyConfig implements Configuration {

    /*
     * 分词器默认字典路径
     */
    private static final String PATH_DIC_MAIN = "org/wltea/analyzer/dic/main2012.dic";
    private static final String PATH_DIC_QUANTIFIER = "org/wltea/analyzer/dic/quantifier.dic";

    /*
     * 分词器配置文件路径
     */
    private static final String FILE_NAME = "IKAnalyzer.cfg.xml";
    // 配置属性——扩展字典
    private static final String EXT_DICT = "ext_dict";
    // 配置属性——扩展停止词典
    private static final String EXT_STOP = "ext_stopwords";

    private Properties props;
    /*
     * 是否使用smart方式分词
     */
    private boolean useSmart;

    @Override
    public boolean useSmart() {
        return false;
    }

    @Override
    public void setUseSmart(boolean useSmart) {
        useSmart();
    }

    @Override
    public String getMainDictionary() {
        return null;
    }

    @Override
    public String getQuantifierDicionary() {
        return null;
    }

    @Override
    public List<String> getExtDictionarys() {
        return null;
    }

    @Override
    public List<String> getExtStopWordDictionarys() {
        return null;
    }
}
